package com.jxl.api;

import com.jxl.dto.AuthUserDto;
import com.jxl.dto.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("jc-club-auth-dev")
public interface UserClientApi {

    @PostMapping("/user/getUserInfo")
    Result<AuthUserDto> getUserInfo(@RequestBody AuthUserDto authUserDTO);
}
